package com.nikkerball.apps.darkhorse.dao.hibernate;

import com.nikkerball.apps.darkhorse.dao.ChangeDao;
import com.nikkerball.apps.darkhorse.model.change.ChangeEvent;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * TODO: Document class
 *
 * @author marius (created on 2010-12-12)
 */
public class ChangeDaoHibernateImpl extends HibernateDaoSupport implements ChangeDao {

    // ----- ChangeDao -----

    public void add(ChangeEvent changeEvent) {
        getHibernateTemplate().save(changeEvent);
    }
}
